<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>老师主页</title>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
<style>
a {
	text-decoration: none;
}
</style>
</head>
<body align="center"
	style="background-size: 100% 100%; background-attachment: fixed">
	<%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("username");         
    </script>
	<%
        }
    %>
	<% String prename=null;
    prename=request.getParameter(prename); 
    %>

	<script type="text/javascript">
	function back(){
    	alert('退出成功');
    	location.href='index.jsp';
    	}
    </script>
	<div style="margin-top: 50px">
	</div>

	<div align="center"
		style="position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);">

		<div
			style="border: 5px solid black; width: 300px; height: 250px; border-radius: 35px;">
			<h1>教师信息管理</h1>

			<div>

				<a href="student.jsp">学生注册</a>
			</div>
			<HR align=center width=150px color=gray SIZE=1>
			<div>
					<a href="teacher.jsp">老师注册</a>

			</div>
			<HR align=center width=150px color=gray SIZE=1>
			
			<div>
				<button id="btn" onclick="back()">退出系统</button>
			</div>

		</div>

	</div>

	
	

</body>

</html>